package cn.rongdao.jrkabao.ui.creditcard.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.creditcard.CreditCardBalanceBean;
import cn.rongdao.jrkabao.ui.creditcard.uicomponent.CreditCardBalanceUIComponent;

/**
 * Created by jack on 2017/9/11
 */

public class CreditCardBalanceViewHolder extends FRBaseRecyclerViewHolder<CreditCardBalanceBean> {

    private CreditCardBalanceUIComponent creditCardBalanceUIComponent;

    public CreditCardBalanceViewHolder(View view) {
        super(view);
        creditCardBalanceUIComponent = (CreditCardBalanceUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(CreditCardBalanceBean creditCardBalanceBean) {
        creditCardBalanceUIComponent.setContent(creditCardBalanceBean);
    }
}